<script setup>
import { ref } from 'vue'

const datas_x = ref('')
const search1 = () => {
  console.log(datas_x.value)
}

</script>

<template>
<el-input v-model="datas_x" placeholder="请输入名称" @click="search1" clearable style="width: 200px"/>
</template>

<style scoped>

</style>